// 拟真数据 - 集中管理，便于后期替换为真实接口

// 品牌数据
export const brands = [
  { id: 'branda', name: 'BrandA', logo: null },
  { id: 'brandb', name: 'BrandB', logo: null },
  { id: 'brandc', name: 'BrandC', logo: null },
]

// 季次数据
export const seasons = [
  { id: '2025ss', name: '2025SS' },
  { id: '2025fw', name: '2025FW' },
  { id: '2024fw', name: '2024FW' },
]

// 批次数据
export const batches = [
  {
    id: 'batch1',
    name: 'BrandA-2025SS',
    brand: 'BrandA',
    season: '2025SS',
    importTime: '2025-08-10 14:22',
    importProgress: 100, // 已完成导入
    importStatus: 'completed', // completed, importing, stopped
    status: 'matching_completed', // 匹配完成状态
    totalInfo: 156,
    totalImages: 142,
    identifiedStyles: 23,
    identifiedColors: 89,
    anomalies: {
      naming: 12,
      emptyImage: 6,
      emptyInfo: 3,
      imageOnly: 8, // 仅图片
    },
  },
  {
    id: 'batch2',
    name: 'BrandB-2025SS',
    brand: 'BrandB',
    season: '2025SS',
    importTime: '2025-08-11 09:01',
    importProgress: 100, // 已完成导入
    importStatus: 'completed',
    status: 'import_completed', // 导入完成状态
    totalInfo: 98,
    totalImages: 95,
    identifiedStyles: 15,
    identifiedColors: 67,
    anomalies: {
      naming: 3,
      emptyImage: 0,
      emptyInfo: 1,
      imageOnly: 2,
    },
  },
  {
    id: 'batch3',
    name: 'BrandA-2025FW',
    brand: 'BrandA',
    season: '2025FW',
    importTime: null, // 正在导入中
    importProgress: 65, // 导入进度65%
    importStatus: 'importing',
    status: 'importing', // 正在导入状态
    totalInfo: 203,
    totalImages: 187,
    identifiedStyles: 31,
    identifiedColors: 134,
    anomalies: {
      naming: 0,
      emptyImage: 0,
      emptyInfo: 0,
      imageOnly: 0,
    },
  },
  {
    id: 'batch4',
    name: 'BrandC-2025SS',
    brand: 'BrandC',
    season: '2025SS',
    importTime: null, // 正在导入中
    importProgress: 23, // 导入进度23%
    importStatus: 'importing',
    status: 'importing', // 正在导入状态
    totalInfo: 87,
    totalImages: 76,
    identifiedStyles: 12,
    identifiedColors: 45,
    anomalies: {
      naming: 0,
      emptyImage: 0,
      emptyInfo: 0,
      imageOnly: 0,
    },
  },
  {
    id: 'batch5',
    name: 'BrandB-2025FW',
    brand: 'BrandB',
    season: '2025FW',
    importTime: null,
    importProgress: 0,
    importStatus: 'completed',
    status: 'new', // 新建状态
    totalInfo: 0,
    totalImages: 0,
    identifiedStyles: 0,
    identifiedColors: 0,
    anomalies: {
      naming: 0,
      emptyImage: 0,
      emptyInfo: 0,
      imageOnly: 0,
    },
  },
  {
    id: 'batch6',
    name: 'BrandA-2024FW',
    brand: 'BrandA',
    season: '2024FW',
    importTime: null,
    importProgress: 0,
    importStatus: 'completed',
    status: 'new', // 新建状态
    totalInfo: 0,
    totalImages: 0,
    identifiedStyles: 0,
    identifiedColors: 0,
    anomalies: {
      naming: 0,
      emptyImage: 0,
      emptyInfo: 0,
      imageOnly: 0,
    },
  },
  {
    id: 'batch7',
    name: 'BrandC-2024FW',
    brand: 'BrandC',
    season: '2024FW',
    importTime: '2025-08-12 16:30',
    importProgress: 100,
    importStatus: 'completed',
    status: 'vector_completed', // 向量库更新完毕状态
    totalInfo: 245,
    totalImages: 220,
    identifiedStyles: 38,
    identifiedColors: 156,
    anomalies: {
      naming: 15,
      emptyImage: 8,
      emptyInfo: 5,
      imageOnly: 12,
    },
  },
  {
    id: 'batch8',
    name: 'BrandB-2024SS',
    brand: 'BrandB',
    season: '2024SS',
    importTime: '2025-08-13 10:15',
    importProgress: 100,
    importStatus: 'completed',
    status: 'archived', // 归档状态
    totalInfo: 178,
    totalImages: 165,
    identifiedStyles: 28,
    identifiedColors: 112,
    anomalies: {
      naming: 8,
      emptyImage: 4,
      emptyInfo: 2,
      imageOnly: 6,
    },
  },
  {
    id: 'batch9',
    name: 'BrandC-2024SS',
    brand: 'BrandC',
    season: '2024SS',
    importTime: null,
    importProgress: 45,
    importStatus: 'stopped',
    status: 'import_stopped', // 导入停止状态
    totalInfo: 120,
    totalImages: 98,
    identifiedStyles: 18,
    identifiedColors: 67,
    anomalies: {
      naming: 5,
      emptyImage: 2,
      emptyInfo: 1,
      imageOnly: 3,
    },
  },
]

// 款式数据
export const styles = [
  // BrandA-2025SS 批次的款式
  { id: 'K-001', name: '长袖哈衣', brand: 'BrandA', season: '2025SS', batchId: 'batch1' },
  { id: 'K-002', name: '斜襟长袖哈衣', brand: 'BrandA', season: '2025SS', batchId: 'batch1' },
  { id: 'K-003', name: '短袖T恤', brand: 'BrandA', season: '2025SS', batchId: 'batch1' },

  // BrandB-2025SS 批次的款式
  { id: 'K-004', name: '连衣裙', brand: 'BrandB', season: '2025SS', batchId: 'batch2' },
  { id: 'K-005', name: '连体裤', brand: 'BrandB', season: '2025SS', batchId: 'batch2' },

  // BrandA-2025FW 批次的款式
  { id: 'K-006', name: '长袖卫衣', brand: 'BrandA', season: '2025FW', batchId: 'batch3' },
  { id: 'K-007', name: '夹克外套', brand: 'BrandA', season: '2025FW', batchId: 'batch3' },

  // BrandC-2025SS 批次的款式
  { id: 'K-008', name: '背心', brand: 'BrandC', season: '2025SS', batchId: 'batch4' },
  { id: 'K-009', name: '短裤', brand: 'BrandC', season: '2025SS', batchId: 'batch4' },
]

// 颜色数据
export const colors = [
  // BrandA-2025SS 批次的颜色
  {
    id: '01',
    styleId: 'K-001',
    name: '海军蓝',
    status: 'pending',
    angles: ['A', 'B', 'C', 'D'],
    missingAngles: ['E', 'F'],
    skuSizes: ['70', '80', '90', '100'],
    productName: '长袖哈衣（示例）',
    batchId: 'batch1',
  },
  {
    id: '02',
    styleId: 'K-001',
    name: '白色',
    status: 'success',
    angles: ['A', 'B', 'D'],
    missingAngles: ['C', 'E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '长袖哈衣（示例）',
    batchId: 'batch1',
  },
  {
    id: '01',
    styleId: 'K-002',
    name: '粉色',
    status: 'empty',
    angles: ['A', 'C'],
    missingAngles: ['B', 'D', 'E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '斜襟长袖哈衣（示例）',
    batchId: 'batch1',
  },
  {
    id: '02',
    styleId: 'K-002',
    name: '米色',
    status: 'pending',
    angles: ['A', 'B', 'C', 'D'],
    missingAngles: ['E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '斜襟长袖哈衣（示例）',
    batchId: 'batch1',
  },
  {
    id: '01',
    styleId: 'K-003',
    name: '灰色',
    status: 'vectoring',
    angles: ['A', 'B', 'C', 'D', 'E'],
    missingAngles: ['F'],
    skuSizes: ['70', '80', '90'],
    productName: '短袖T恤（示例）',
    batchId: 'batch1',
  },
  {
    id: '02',
    styleId: 'K-003',
    name: '蓝色',
    status: 'completed',
    angles: ['A', 'B', 'C', 'D', 'E', 'F'],
    missingAngles: [],
    skuSizes: ['70', '80', '90', '100'],
    productName: '短袖T恤（示例）',
    batchId: 'batch1',
  },
  {
    id: '03',
    styleId: 'K-003',
    name: '绿色',
    status: 'completed',
    angles: ['A', 'B', 'C', 'D'],
    missingAngles: ['E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '短袖T恤（示例）',
    batchId: 'batch1',
  },

  // BrandB-2025SS 批次的颜色
  {
    id: '01',
    styleId: 'K-004',
    name: '红色',
    status: 'pending',
    angles: ['A', 'B'],
    missingAngles: ['C', 'D', 'E', 'F'],
    skuSizes: ['70', '80', '90', '100'],
    productName: '连衣裙（示例）',
    batchId: 'batch2',
  },
  {
    id: '01',
    styleId: 'K-005',
    name: '黑色',
    status: 'failed',
    angles: ['A'],
    missingAngles: ['B', 'C', 'D', 'E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '连体裤（示例）',
    batchId: 'batch2',
  },

  // BrandA-2025FW 批次的颜色
  {
    id: '01',
    styleId: 'K-006',
    name: '深蓝',
    status: 'completed',
    angles: ['A', 'B', 'C', 'D', 'E', 'F'],
    missingAngles: [],
    skuSizes: ['70', '80', '90'],
    productName: '长袖卫衣（示例）',
    batchId: 'batch3',
  },
  {
    id: '01',
    styleId: 'K-007',
    name: '棕色',
    status: 'pending',
    angles: ['A', 'B', 'C'],
    missingAngles: ['D', 'E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '夹克外套（示例）',
    batchId: 'batch3',
  },

  // BrandC-2025SS 批次的颜色
  {
    id: '01',
    styleId: 'K-008',
    name: '黄色',
    status: 'success',
    angles: ['A', 'B', 'C', 'D'],
    missingAngles: ['E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '背心（示例）',
    batchId: 'batch4',
  },
  {
    id: '01',
    styleId: 'K-009',
    name: '绿色',
    status: 'pending',
    angles: ['A', 'C', 'D'],
    missingAngles: ['B', 'E', 'F'],
    skuSizes: ['70', '80', '90'],
    productName: '短裤（示例）',
    batchId: 'batch4',
  },
]

// 向量标注数据
export const vectorAnnotations = {
  'K-001-01': {
    clothingType: { auto: '长袖哈衣', manual: '' },
    color: { auto: '海军蓝', manual: '' },
    pattern: { auto: '小碎花', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch1',
  },
  'K-001-02': {
    clothingType: { auto: '长袖哈衣', manual: '' },
    color: { auto: '白色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch1',
  },
  'K-002-01': {
    clothingType: { auto: '斜襟长袖哈衣', manual: '' },
    color: { auto: '粉色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch1',
  },
  'K-002-02': {
    clothingType: { auto: '斜襟长袖哈衣', manual: '' },
    color: { auto: '米色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch1',
  },
  'K-003-01': {
    clothingType: { auto: '短袖T恤', manual: '' },
    color: { auto: '灰色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '短袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch1',
  },
  'K-004-01': {
    clothingType: { auto: '连衣裙', manual: '' },
    color: { auto: '红色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '棉质', manual: [] },
    sleeveType: { auto: '无袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch2',
  },
  'K-005-01': {
    clothingType: { auto: '连体裤', manual: '' },
    color: { auto: '黑色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch2',
  },
  'K-006-01': {
    clothingType: { auto: '长袖卫衣', manual: '' },
    color: { auto: '深蓝', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch3',
  },
  'K-007-01': {
    clothingType: { auto: '夹克外套', manual: '' },
    color: { auto: '棕色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '针织', manual: [] },
    sleeveType: { auto: '长袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch3',
  },
  'K-008-01': {
    clothingType: { auto: '背心', manual: '' },
    color: { auto: '黄色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '棉质', manual: [] },
    sleeveType: { auto: '无袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch4',
  },
  'K-009-01': {
    clothingType: { auto: '短裤', manual: '' },
    color: { auto: '绿色', manual: '' },
    pattern: { auto: '纯色', manual: [] },
    material: { auto: '棉质', manual: [] },
    sleeveType: { auto: '无袖', manual: '' },
    collarType: { auto: '圆领', manual: '' },
    batchId: 'batch4',
  },
}

// 字典数据
export const dictionaries = {
  clothingType: [
    { id: 'long-sleeve-romper', name: '长袖哈衣', count: 128, status: 'active' },
    { id: 'cross-long-sleeve-romper', name: '斜襟长袖哈衣', count: 42, status: 'active' },
    { id: 'short-sleeve-tshirt', name: '短袖T恤', count: 89, status: 'active' },
    { id: 'dress', name: '连衣裙', count: 156, status: 'active' },
    { id: 'jumpsuit', name: '连体裤', count: 78, status: 'active' },
    { id: 'sweatshirt', name: '长袖卫衣', count: 95, status: 'active' },
    { id: 'jacket', name: '夹克外套', count: 67, status: 'active' },
    { id: 'vest', name: '背心', count: 45, status: 'active' },
    { id: 'shorts', name: '短裤', count: 34, status: 'active' },
  ],
  color: [
    { id: 'navy-blue', name: '海军蓝', count: 67, status: 'active' },
    { id: 'white', name: '白色', count: 123, status: 'active' },
    { id: 'pink', name: '粉色', count: 45, status: 'active' },
    { id: 'beige', name: '米色', count: 56, status: 'active' },
    { id: 'gray', name: '灰色', count: 78, status: 'active' },
    { id: 'red', name: '红色', count: 89, status: 'active' },
    { id: 'black', name: '黑色', count: 112, status: 'active' },
    { id: 'dark-blue', name: '深蓝', count: 67, status: 'active' },
    { id: 'brown', name: '棕色', count: 45, status: 'active' },
    { id: 'yellow', name: '黄色', count: 34, status: 'active' },
    { id: 'green', name: '绿色', count: 23, status: 'active' },
  ],
  pattern: [
    { id: 'solid', name: '纯色', count: 234, status: 'active' },
    { id: 'floral', name: '小碎花', count: 89, status: 'active' },
    { id: 'striped', name: '条纹', count: 56, status: 'active' },
    { id: 'geometric', name: '几何图案', count: 34, status: 'active' },
    { id: 'polka-dot', name: '波点', count: 28, status: 'active' },
    { id: 'animal-print', name: '动物纹', count: 15, status: 'active' },
  ],
  material: [
    { id: 'knit', name: '针织', count: 178, status: 'active' },
    { id: 'cotton', name: '棉质', count: 145, status: 'active' },
    { id: 'polyester', name: '聚酯纤维', count: 67, status: 'active' },
    { id: 'silk', name: '丝绸', count: 23, status: 'active' },
    { id: 'wool', name: '羊毛', count: 45, status: 'active' },
    { id: 'linen', name: '亚麻', count: 34, status: 'active' },
    { id: 'denim', name: '牛仔布', count: 56, status: 'active' },
  ],
  sleeveType: [
    { id: 'long-sleeve', name: '长袖', count: 234, status: 'active' },
    { id: 'short-sleeve', name: '短袖', count: 156, status: 'active' },
    { id: 'sleeveless', name: '无袖', count: 89, status: 'active' },
    { id: 'three-quarter-sleeve', name: '七分袖', count: 45, status: 'active' },
  ],
  collarType: [
    { id: 'round-collar', name: '圆领', count: 198, status: 'active' },
    { id: 'v-collar', name: 'V领', count: 123, status: 'active' },
    { id: 'square-collar', name: '方领', count: 67, status: 'active' },
    { id: 'high-collar', name: '高领', count: 34, status: 'active' },
  ],
}

// 状态选项
export const statusOptions = [
  { value: 'all', label: '全部' },
  { value: 'pending', label: '待匹配' },
  { value: 'success', label: '匹配成功' },
  { value: 'failed', label: '匹配失败' },
  { value: 'empty', label: '放弃' },
  { value: 'vectoring', label: '向量中' },
  { value: 'completed', label: '完成' },
]

// 角度完整度选项
export const angleCompletenessOptions = [
  { value: '3', label: '≥3' },
  { value: '4', label: '≥4' },
  { value: 'custom', label: '自定义' },
]

// 视图选项
export const viewOptions = [
  { value: 'card', label: '卡片' },
  { value: 'table', label: '表格' },
]
